package com.tarena.lbs.business.dao.repository;


import com.github.pagehelper.PageInfo;
import com.tarena.lbs.business.pojo.param.ChainQuery;
import com.tarena.lbs.business.pojo.po.StorePO;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery;
import com.tarena.lbs.business.pojo.query.StoreQuery;


import java.util.List;

public interface StoreRepository {
    PageInfo<StorePO> pageList(StoreQuery query);

    void save(StorePO po);

    List<StorePO> storeEdit(ChainQuery query);

    void updateStatus(StorePO po);

    StorePO findById(Integer id);

    void deleteById(Integer id);

    PageInfo<StorePO> getStoreByCity(AreaStoreQuery query);
}
